using System.Collections;
using System.Collections.Generic;
using QFramework;
using UnityEngine;

public class TestVector : MonoBehaviour
{
    Vector2 vector;
    private GameObject obj1;
    public void Test1()
    {
        vector = new Vector2(1, 2);
        Debug.Log("(向量归一化后的值 但 不修改向量值)vector.normalized:"+vector.normalized);
        // Debug.Log("(向量)vector.normalized:"+vector.Normalize());
        Debug.Log("(向量长度)vector.magnitude:"+vector.magnitude);
        //修改当前的位置信息
    }
}
